package com.axjy.service;

import com.axjy.pojo.User;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * Created by l on 2018/1/20.
 */
public interface UserService {

    public List<User> search(String userCode,String userName);

    public User login(String userCode,String userPass);

    public User get(Integer id);

    public void add(User u, HttpSession session);

    public void updateUser(User user);

    public void delUser(Integer id);
}
